how to put tapping effect on card in flutter

212

GestureDetector(
  onTap: () => ......,
  child: Card(...),
);
Card(
  child: new InkWell(
    onTap: () {
      print("tapped");
    },
  ),
),

Comments

Submit
0 Comments